package jnpf.util;

import java.util.Date;

public class ZcDateUtil {
    /**
     * 将时间戳型字符串转化为Date
     *
     * @return
     */
    public static Date stringTimestampToDate(String timestamp) {
        Date date = null;
        try {
            date = new Date(Long.valueOf(timestamp));
        } catch (Exception e) {
            return date;
        }
        return date;
    }
}
